package com.dqyt;

import com.dqyt.khjc.redis.MyJedisPool;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.dqyt.khjc.mapper")
public class ServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class, args);
        MyJedisPool.init(); // 初始化redis
        System.out.println("==================启动成功!====================");
    }

}
